package com.example.bbs.dao;

import com.example.bbs.bean.Bbstag;
import com.example.bbs.bean.BbstagExample;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Mapper
@Repository
public interface BbstagMapper {
    long countByExample(BbstagExample example);

    int deleteByExample(BbstagExample example);

    int deleteByPrimaryKey(Integer tagid);

    int insert(Bbstag record);

    int insertSelective(Bbstag record);

    List<Bbstag> selectByExample(BbstagExample example);

    Bbstag selectByPrimaryKey(Integer tagid);

    Bbstag selectByTagName(String tygname);

    int updateByExampleSelective(@Param("record") Bbstag record, @Param("example") BbstagExample example);

    int updateByExample(@Param("record") Bbstag record, @Param("example") BbstagExample example);

    int updateByPrimaryKeySelective(Bbstag record);

    int updateByPrimaryKey(Bbstag record);
}